package dev_tools

import (
	dev_tools_handler "app/app_src/framework/dev_tools/handler"
	security_funcs "app/app_src/framework/security/funcs"

	"github.com/gin-gonic/gin"
)

// 注册路由

func RegisterRoutes(router *gin.RouterGroup) {
	router.POST("/api/dev/refreshFrontContext", security_funcs.RequireAuthed(dev_tools_handler.RefreshFrontContext))
	router.POST("/api/dev/getFrontConfig", security_funcs.RequireAuthed(dev_tools_handler.GetFrontConfig))
}
